package com.xue566.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author: Wuzh
 * @Description: 报名渠道实体类
 * @Data:
 */
@Data
@NoArgsConstructor //无参构造
@Accessors(chain = true) //链式
@TableName(value = "channel_info")
public class ChannelEntity extends BaseEntity {

    @TableId(value = "channelId", type = IdType.INPUT)
    private String channelId;
    @TableField(value = "channelName")
    private String channelName;
    @TableField(value = "channelTypeId")
    private String channelTypeId;
    @TableField(value = "userId")
    private String userId;
    @TableField(value = "createTime")
    private String createTime;
    @TableField(value = "isUsed")
    private int isUsed;

    public String getChannelId () {
        return channelId;
    }

    public void setChannelId (String channelId) {
        this.channelId = channelId;
    }

    public String getChannelName () {
        return channelName;
    }

    public void setChannelName (String channelName) {
        this.channelName = channelName;
    }

    public String getChannelTypeId () {
        return channelTypeId;
    }

    public void setChannelTypeId (String channelTypeId) {
        this.channelTypeId = channelTypeId;
    }

    public String getUserId () {
        return userId;
    }

    public void setUserId (String userId) {
        this.userId = userId;
    }

    public String getCreateTime () {
        return createTime;
    }

    public void setCreateTime (String createTime) {
        this.createTime = createTime;
    }

    public int getIsUsed () {
        return isUsed;
    }

    public void setIsUsed (int isUsed) {
        this.isUsed = isUsed;
    }
}
